package com.imooc.distributedemo.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table(name="t_product")
public class Product {

    @Id
    @TableId
    private Long productId;


    private String productName;
    private Integer amount;

    private BigDecimal price;

    private Integer categoryId;
    private String description;
}
